package scsc.web.xzgl.building.apartment.forms;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import scsc.web.system.AppActionForm;
import scsc.web.xzgl.building.apartment.data.ExpensesInfoData;

public class ExpensesInfoForm extends AppActionForm {

	private ExpensesInfoData data;

	private ExpensesInfoData conditionData;

	public ExpensesInfoForm() {
		super();
		data = new ExpensesInfoData();
		conditionData = new ExpensesInfoData();
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {
		super.reset(mapping, request);
		data.reset();
		conditionData.reset();
	}

	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		ActionErrors errors = new ActionErrors();
		return errors;
	}

	public ExpensesInfoData getConditionData() {
		return conditionData;
	}

	public void setConditionData(ExpensesInfoData conditionData) {
		this.conditionData = conditionData;
	}

	public ExpensesInfoData getData() {
		return data;
	}

	public void setData(ExpensesInfoData data) {
		this.data = data;
	}
	
}
